package com.jiazhong.backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiazhong.commons.Util.JsonResult;
import com.jiazhong.commons.bean.Book;
import org.springframework.stereotype.Service;

@Service
public interface BookService extends IService<Book> {
    JsonResult find(int page, int size);

    JsonResult findSearch(String name, int page, int size);

    JsonResult saveBook(Book book);

    JsonResult removeBook(String id);

    JsonResult findExists(String column, String value);
}
